﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tippelde.Services.Dtos
{
    public class BetHeaderData
    {
        public int Id { get; set; }
        [Required]
        [Range(0, int.MaxValue, ErrorMessage = "A tipp nem lehet negatív")]
        public int HomeBet { get; set; }
        [Required]
        [Range(0, int.MaxValue, ErrorMessage = "A tipp nem lehet negatív")]
        public int AwayBet { get; set; }
        public DateTime BetAt { get; set; }
        public bool Checked { get; set; }
    }
}
